import { Component, OnInit } from '@angular/core';


@Component({
  selector: 'app-pagination',
  templateUrl: './pagination.html',
  styleUrls: ['./pagination.css']
})
export class PaginationComponent implements OnInit {
  public maxSize: number = 5;
  public bigTotalItems: number = 175;
  public bigCurrentPage: number = 1;
  public numPages: number = 0;

  public pageChaged(event: any): void {
    console.log('Page chaged to:' + event.page);
    console.log('Number items per page:' + event.itemsPerPage);
  }
  constructor() {}

  ngOnInit() {

  }
}
